########### next target ###############
set(libwizardpages_a_SOURCES
  accounts.cpp currency.cpp userinfo.cpp
  )

set (libwizardpages_a_UI
  accounts.ui currency.ui userinfo.ui
  )

ki18n_wrap_ui(wizardpages_ui_srcs ${libwizardpages_a_UI} )
# in order to use add_dependencies, we need to add this custom target
# for all generated header files.
add_custom_target(generate_wizardpages_ui_srcs DEPENDS
  ${wizardpages_ui_srcs})

add_library(wizardpages STATIC
  ${libwizardpages_a_SOURCES} ${wizardpages_ui_srcs})

# TODO: fix widgets library public dependencies
target_link_libraries(wizardpages
    KF5::KIOWidgets
    KF5::TextWidgets
    KF5::ItemModels
    Alkimia::alkimia
    Qt5::Xml
)

